/*
 * Copyright 2003-2007 (c) Live Media Pty Ltd. <argot@einet.com.au> 
 *
 * This software is licensed under the Argot Public License 
 * which may be found in the file LICENSE distributed 
 * with this software.
 *
 * More information about this license can be found at
 * http://www.einet.com.au/License
 * 
 * The Developer of this software is Live Media Pty Ltd,
 * PO Box 4591, Melbourne 3001, Australia.  The license is subject 
 * to the law of Victoria, Australia, and subject to exclusive 
 * jurisdiction of the Victorian courts.
 */

package com.colony;

import com.argot.remote.MetaLocation;
import com.argot.remote.MetaObject;

/**
 * This is the container interface.  Each system
 * must implement a container.  The container must also
 * have a type of MetaLocation which implements the
 * addressing scheme.
 */

public interface IContainer 
{
	Object getObject( MetaLocation location );
	
	void addObject( MetaObject metaObject, Object object )
	throws ColonyException;
	
	void addObject( MetaLocation location, String type, Object object )
	throws ColonyException;
}
